package org.ranshiyan.service;

import org.apache.catalina.User;
import org.ranshiyan.dao.TeacherDao;
import org.ranshiyan.pojo.Teacher;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;

@Service
public class TeacherService {

    @Autowired
    private TeacherDao teacherDao;

    public List<Teacher> list(){
        return teacherDao.getTeachers(new Teacher());
    }

}
